//
//  VSalePastListModel.m
//  STL_ Animation
//
//  Created by dllo on 16/4/5.
//  Copyright © 2016年 STL. All rights reserved.
//

#import "VSalePastListModel.h"
#import "VSaleVideosDetailModel.h"

@implementation VSalePastListModel

- (instancetype)initWithDataSource:(NSDictionary *)dataSource {
    
    self = [super initWithDataSource:dataSource];
    if (self) {
        [self setValuesForKeysWithDictionary:dataSource];
        
        NSMutableArray *arr = [NSMutableArray arrayWithCapacity:0];
        for (NSDictionary *dic in self.videos) {
            VSaleVideosDetailModel *model = [[VSaleVideosDetailModel alloc] initWithDataSource:dic];
            [arr addObject:model];
        }
        self.videos = [NSArray arrayWithArray:arr];
    }
    return self;
}

@end
